﻿using UnityEngine;
using System.Collections;

public class HealthHUD : MonoBehaviour {
	public int playerHealthStartX = 5;
	public int playerHealthStartY = 100;
	public int elementWidth = 150;
	public int elementHeight = 20;



	void OnGUI(){
	

		GUI.Box (new Rect (playerHealthStartX, playerHealthStartY, elementWidth, elementHeight),"");
		GUI.Label (new Rect (playerHealthStartX, playerHealthStartY, elementWidth, elementHeight), "Player Health: " + GameManager.playerHealth);

		GUI.Box (new Rect (playerHealthStartX, playerHealthStartY+20, elementWidth, elementHeight),"");
		GUI.Label (new Rect (playerHealthStartX, playerHealthStartY+20, elementWidth, elementHeight), "Planet Health: " + GameManager.planetHealth);

		GUI.Box (new Rect (playerHealthStartX, playerHealthStartY+40, elementWidth, elementHeight),"");
		GUI.Label (new Rect (playerHealthStartX, playerHealthStartY+40, elementWidth, elementHeight), "Wave Count: " + GameManager.waveCount);

		GUI.Box (new Rect (playerHealthStartX, playerHealthStartY+60, elementWidth, elementHeight),"");
		GUI.Label (new Rect (playerHealthStartX, playerHealthStartY+60, elementWidth, elementHeight), "Mission Difficulty: " + GameManager.missionDifficulty);
		
		

	}
}
